﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RectanglesPractise
{
    class Position
    {
        private int x;
        private int y;

        public int X
        {
            get { return x; }
            set { x = value; }
        }

        public int Y
        {
            get { return y; }
            set { y = value; }
        }

        public Position()
            : this(0, 0)
        { 
        }

        public Position(int x, int y)
        {
            this.X = x;
            this.Y = y;
        }
    }
}
